<?php

namespace App\Models\Warehouse;

use Illuminate\Database\Eloquent\Model;

class WarehouseType extends Model
{
    protected $table = 'warehouse_type';
    public $timestamps = false;
    protected $primaryKey = 'id';
    protected $guarded = ['_token'];

    public static function getTypeList()
    {
        return self::where(['status' => 1])->select(['id', 'type_name'])->get()->toArray();
    }
}
